package java69.work720;

public class Employee2 extends Person2 {
    protected  String office;
    protected  double salary;
    protected  String hiredate;
    public Employee2() {
    }

    public Employee2(String name, String adress, String telphone, String email, String office, double salary, String hiredate) {
        super(name, adress, telphone, email);
        this.office = office;
        this.salary = salary;
        this.hiredate = hiredate;
    }

    public String getOffice() {
        return office;
    }

    public void setOffice(String office) {
        this.office = office;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public String getHiredate() {
        return hiredate;
    }

    public void setHiredate(String hiredate) {
        this.hiredate = hiredate;
    }
}
